
 /*
    Simple Scroll Gallery (SSG)
    Copyright (C) 2018 Roman Flössler - flor@flor.cz

    licensed under Mozilla Public License 2.0 with one exception: it is not granted to develop a Wordpress plugin based on SSG.
    Here you can see how gallery works - http://ssg.flor.cz/
    SSG on Github: https://github.com/Roman-Flossler/Simple-Scroll-Gallery.git
*/


#SSG_galBg {
    background: #0e0e0e;
    width: 100%;
    position: fixed;
    height: 100%;
    z-index: 99990;
    top: 0;
    left: 0px;
}

#SSG_gallery {
    background: #0e0e0e;
    position: absolute;
    top: 0px;
    z-index: 99991;
    width: 100%;
    text-align: center;
    left: 0px;
    padding-top: 13em;
}

#SSG_gallery img {
    max-width: 96%;
    max-height: 90vh;
    display: inline;
    margin: 0.1em 0 0.5em 0; 
    border: 1px solid black;
}

#SSG_gallery span.SSG_forlogo {
    position: relative;
}

#SSG_gallery div.SSG_imgWrap {
    position: relative;
}

#SSG_gallery div.SSG_imgWrap::after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top:0;
}

#SSG_gallery span.SSG_logo {
    /* background: url(https://www.flor.cz/img/florcz.png); add your own logo over images */ 
    display: inline-block;
    width: 147px;
    height: 47px;
    position: absolute;
    bottom: 4px;
    left: 0px;
    opacity: 0.6;
}

#SSG_gallery p, #SSG_lastone p { 
    display:block; 
    margin: auto; 
	line-height: 1.3em;
    color:#bbbbbb; 
    text-align:center; 
    background: #222222; 
    padding: 0.4em;
	padding-bottom: 0.2em;
    margin-bottom: 13em;
	font-weight: lighter;
    font-size: 100%;
}

#SSG_lastone p {
    margin-bottom: 1em !important;
}

#SSG_lastone {
    width: 100%;
    margin-top: 24vw;
    padding-bottom: 6vw;
}

#SSG_lastone #SSG_menu a:hover {
    text-decoration: underline;
}

#SSG_lastone #SSG_menu {
    overflow: auto;
}

#SSG_menu a.SSG_link {
    display: inherit;
    width: 33%;
    float: left;
    cursor: pointer;
    color: #FF706C;    
}

#SSG_menu #SSGL {
    color: #989898;
    text-decoration: none;
}

#SSG_first span {
    display: inline-block;
    font-size: 121%;
    font-family: Consolas, Menlo, "Lucida Console", monospace;
    vertical-align: middle;
    transform: rotate(90deg);
    vertical-align: top;
}

#SSG_exit {
    position: fixed;
    top: -15px;
    left: -20px;
    width: 50px;
    height: 50px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.8);    
    cursor: pointer;
    z-index: 99993;
}

#SSG_exit span {
    color: #696969;
    font-size: 30px;
    font-weight: lighter;    
    position: absolute;
    bottom: 0px;
    right: 6px;
    font-family: 'Times New Roman', 'Courier New', sans-serif;
}

#SSG_gallery #SSG_tipCall {  /* >>>>>>>>>>>>>>>>>>>>>  SSG tip */    
    padding-left: 3em;
    color: #989898;
    white-space: nowrap;
    text-decoration: underline;
    cursor: pointer;
    padding-top: 2em;
    top: 0px;
    position: relative;
}  

#SSG_gallery #SSG_arrowdown {
    display: inline-block;
    font-size: 181%;
    font-family: Consolas, Menlo, "Lucida Console", monospace;
    color: #989898;
    vertical-align: middle;
    transform: rotate(90deg);
    margin-left: 3px;
}

#SSG_tip {
    left: 0vw;
    top: 50vh;
    width: 96vw;
    padding: 0.33em 1em;
    position: fixed;
    z-index: 99992; 
    font-weight:300;    
    text-align: center;
}

#SSG_tip a {
    text-decoration: underline;
    color:  #FFEB3B;
    background: none;
    font-weight: bold;
    letter-spacing: 0.03em;
}

#SSG_tip hr {
    opacity: 0.5;
}

#SSG_tip strong {
    color: #6bddff;
    background: none;
    font-family: Consolas, Menlo, "Lucida Console", monospace;
    font-size: 141%;
    font-weight: normal;
}

#SSG_tip #SSG_tipClose {
    position: absolute;
    top: -5px;
    right: 5px;
    font-family: 'Times New Roman', monospace;
    font-size: 131%;
    color: #d3d3d3
}

#SSG_tip span {
    padding: 1em 2em;
    background: rgb(51, 51, 51);
    color: #ffffff;
    border: 1px solid black;
    border-radius: 5px;
    line-height: 2em;
    display: inline-block;
    cursor: pointer;
    position: relative;
    margin-top: -50%;
}
    

@media (min-width: 1380px), (min-width: 1000px) and (min-resolution: 1.2dppx) {    /* >>>>>>>>>>>>>>>>>>>>>  Arrow for bigger resolution */    

    #SSG_exit span {
        font-size: 36px;
        bottom: -3px;
        right: 5px;
    }   
    #SSG_exit {
        top: -13px;
        left: -16px;    
    }

    @keyframes move {
        from {top: 61px;}
        to { top: 81px;}
    }
}


@media (min-width: 1380px) {  /* >>>>>>>>>>>>>>>>>>>>>  Arrow indent for bigger resolution */    
    #SSG_exit span {
        font-size: 36px;
        bottom: -2px;
        right: 9px;
    }   
    #SSG_exit {
        top: -9px;
        left: -9px;    
    }
}
    

@media (max-width: 860px) and (orientation: landscape), (max-width: 750px) and (orientation: portrait)  {   /* >>>>>>>>>>>>>>>>>>>>>  Styles for smaller screens */    
#SSG_gallery img {
    max-width: 100%;
    max-height: 90vh;
    margin: 0.1em 0 0.1em 0; 
}

#SSG_gallery {
   padding-top: 5em;
}
    
#SSG_exit {
    top: -24px;
    left: -23px;
    border-radius: 11px;
}

#SSG_exit span {
    bottom: -4px;
    right: 5px;
    font-size: 27px;
}

#SSG_gallery span.SSG_logo {    
	background-size: 100%;
    width: 100px;
    height: 33px;
    bottom: 0px;
    left: 0px;
}

#SSG_gallery p { 
	margin-bottom: 6em;
    line-height: 1.1em;
	font-size: 90%;
    margin-top: -0.2em;
	padding-top: 0.2em;
}	
}
    

html.ssg ::-webkit-scrollbar {   /* >>>>>>>>>>>>>>>>>>>>>  scrollbar and cursor styles */    
    background: #191919;
    width:14px;
}

html.ssg ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 3px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.75);    
    background: #505050;
    background-size: 100%; 
    margin-top: 6px;
    min-height: 81px;
}

html.ssg ::-webkit-scrollbar-button {
    height: 20px;
    background: black;
    height: 2px;
}        

html.ssg body {
    cursor: url(),url(https://www.flor.cz/js/SSG/cross-ssg.cur),text;
}

html.ssg .wait {cursor: wait !important;}

html.ssg {
    scrollbar-base-color: #505050;    
    scrollbar-3dlight-color: #505050;
    scrollbar-highlight-color: #505050;
    scrollbar-track-color: #191919;
    scrollbar-arrow-color: #191919;
    scrollbar-shadow-color: black;
    scrollbar-dark-shadow-color: black;
  }


@supports (-ms-ime-align:auto) {
	html.ssg body { overflow: hidden; }
}
@supports (-moz-appearance:none) {
	html.ssg body { overflow: hidden; }
}


@media (orientation: portrait) {  /* >>>>>>>>>>>>>>>>>>>>>  portrait mode */    

    #SSG_gallery img {
        max-width: 100%;
    }
    
    #SSG_gallery::before {
        content: 'photos look better in landscape mode ;-)';
        color: #f2ffd2;
        padding-bottom: 3em;
        display: block;
        margin-top:2em;
    }
    
    #SSG_tipCall, #SSG_arrowdown {
        display: none !important;
    }

    html.ssg body { 
        overflow: auto; 
    }    
}

@media (any-pointer: coarse) {   /* >>>>>>>>>>>>>>>>>>>>>  when device has some touch control -> display scrollbars */
    html.ssg body { overflow: auto; }
}
